<?php

	/**
	 * addOn type: contentImages
	 * 16/02/2011 - class creation
	 *
	 * @author bsuter
	 * @package devmod
	 * 
	 * method type args:
	 * < there are currently no argues >
	 */
	class Devmod_method_addOn_contentImages extends Devmod_addOn_abstraction {
		
		/*
		public function type_add()
		{
			$this->view->assign(array(
				'fake_nav_id' => $this->config['env']['dev_sql_id'] + 100000,
				'title' => $this->cfg['addon_title'],
				'image_container' => 'add_image_container'
			));
			
			$this->view->append_over('tpl_addons', array(
				$this->cfg['identifier'] => $this->view->fetch('common/addon_contentImages.tpl')
			));
		}
		*/
		
		public function type_edit()
		{
			
			$this->view->assign(array(
				'fake_nav_id' => $this->config['env']['dev_sql_id'] + 10000 + $this->config['edit']['where_get'],
				'title' => $this->cfg['addon_title'],
				'image_container' => 'edit_image_container'
			));
			
			$this->view->append_over('tpl_addons', array(
				$this->cfg['identifier'] => $this->view->fetch('common/addon_contentImages.tpl')
			));
		}
		
	}